package org.mespilus.mespilusweb.datalayer.productmanagement;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class CategoryProvider {
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	protected int idProviderCategory;
	
	@Persistent
	protected String name;
	
	public CategoryProvider(String name) {
		super();
		this.name = name;
	}

	public int getIdProductCategory() {
		return idProviderCategory;
	}

	public void setIdProductCategory(int idProductCategory) {
		this.idProviderCategory = idProductCategory;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
}
